package by.shade;

import by.shade.parser.FeedParser;

/**
 * @author homyakov
 * @version $Id: RssReader.java 5 2012-08-14 16:02:17Z vkhomyackov@gmail.com $
 */
public class RssReader {

    private static String[] urls = new String[] { "http://feeds2.feedburner.com/samolisov",
            "http://www.vogella.com/article.rss", "http://www.eaipatterns.com/ramblings.rss" };

    public static void main(String[] args) throws Exception {
        FeedParser feedParser = new FeedParser();
        for (String url : urls) {
            System.out.println(url);
            System.out.println(feedParser.parse(url));
            System.out.println();
        }
    }

}
